/*
 * Copyright (c) 2017. 深圳掌控网络有限公司. All rights reserved.
 */

package com.fenxiangle.yueding.feature.message.dependencies.msg;



import com.fenxiangle.yueding.feature.focus.contract.FocusContract;
import com.fenxiangle.yueding.feature.focus.contract.MsgContract;
import com.fenxiangle.yueding.feature.focus.presenter.FocusPresenter;
import com.fenxiangle.yueding.feature.message.presenter.MsgPresenter;

import dagger.Module;
import dagger.Provides;

/**
 *      LIJUWEN
 * @email yiyayiyayaoljw@gmail.com
 * @date 2018/7/11 9:27
 */
@Module
public class MsgPresenterModule {
    private final MsgContract.View mView;

    public MsgPresenterModule(MsgContract.View mView) {
        this.mView = mView;
    }

    @Provides
    public MsgContract.Presenter provideMsgPresenter(){
        return  new MsgPresenter(mView);
    }

}
